package ru.demo.abstarctservice.app.api;

import java.util.List;
import java.util.UUID;

public interface AbstractService<Entity> {

    List<Entity> getAll();

    Entity getById(UUID id);

    Entity create(Entity entity);

    Entity update(UUID id, Entity entity);

    void delete(UUID id);

}
